# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class NewsItem(scrapy.Item):
    QUICK = "quick"
    REGULAR = "regular"
    # define the fields for your item here like:
    title = scrapy.Field() #标题
    content = scrapy.Field() #内容
    code = scrapy.Field() #唯一标识
    source = scrapy.Field() #来源 eastmoney
    published_date = scrapy.Field() #发布日期时间
    author = scrapy.Field()
    url = scrapy.Field() #新闻原始链接
    category = scrapy.Field() # 'quick', 'regular'
    thumbnail = scrapy.Field() #缩略图
    country = scrapy.Field()
    stock_list = scrapy.Field() #管理股票代码
    listed_company = scrapy.Field()  # 是否上市公司
    fin_tags = scrapy.Field() #金融属性(fast_column)
